function head(){
    $(".head2 .btn2").on("click",function(){
        location.href="http://localhost/my-wangyi/frontend/cartlist.html"
    })
    $(".ffff").on("click",function(e){
        if(""+location.pathname=="/my-wangyi/frontend/registry.html"){
        e.preventDefault()
        }
    })
    $(".ul1 li").first().on("click",function(e){
        if(""+location.pathname=="/my-wangyi/frontend/registry.html"){
        e.preventDefault()
        }
    })
    console.log($(".btn2"));
    $(".btn2").on("click",function(e){
        console.log(location.pathname);
        if(""+location.pathname=="/my-wangyi/frontend/registry.html"){
            e.preventDefault()
            }
    })
}
export{
    head
}